<%@page import="java.text.NumberFormat"%>
<%@page import="java.util.List"%>
<%@page import="service.Utils"%>
<%
	request.setCharacterEncoding("utf-8");
%>
<%
String name = (String) request.getAttribute("name");
List<Domain> listDomains = (List<Domain>) request.getAttribute("listDomain");
String title = "";
String description = "";
String keywords = "";

title = "Domain same ip "+name;
description = "Domain same ip "+name+".Find infomation about domain,lookup ip,check pagerank,network tool,qr code";
keywords = name+",domain,check domain,list domain";

NumberFormat format = NumberFormat.getInstance();

%>
<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="content clear">
			<div class="content-left left">
				<h1 class="title">Domain same ip <%=name %></h1>
				<hr size="2" color="#0B6CB4" class="margin-bottom"/>
				<div class="left"><img src="/images/images.jpg"/></div>
				<div class="addthis_toolbox addthis_default_style right">
					<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
					<a class="addthis_button_tweet" tw:via="findinfodomain"></a> <a
						class="addthis_button_google_plusone" g:plusone:size="medium"></a> 
						<a class="addthis_counter addthis_pill_style"></a>
				</div>
				<div class="clear"></div>
				<table class="list-domain">
					<tr>
						<th>Domain</th>
						<th>Pagerank</th>
						<th>Alexa rank</th>
					</tr>
					<%
					for(int i=0;i<listDomains.size();i++)
					{
					%>
						<tr>
							<td><a href="/domain/<%=listDomains.get(i).getName() %>"><%=listDomains.get(i).getName() %></a></td>
							<td><%=(listDomains.get(i).getGoogle() != null&&!listDomains.get(i).getGoogle().getValue().equals("null"))?listDomains.get(i).getGoogle().getValue():"0" %></td>
							<td><%=(listDomains.get(i).getAlexa() != 0)?format.getInstance().format(listDomains.get(i).getAlexa()):"-" %></td>
						</tr>
					<%
					}
					%>
				</table>
			</div>
			<div class="content-right right">
				<%@ include file='/adv/adv300c.jsp'%><br/><br/>
				<%@ include file='/element/share.jsp'%>	
				<%@ include file='/element/tool.jsp'%>	
				
				
			</div>
			<div class="clear"></div>
		</div>
	</div>
<%@ include file='/layout/footer.jsp'%>	